import Vue from 'vue'
import Router from 'vue-router'
import BookHome from '@/components/BookHome'
import authorHome from '@/components/authorHome'


Vue.use(Router)

export default new Router({
    routes: [
            {
                path: '/',
                name: 'BookHome',
                component:BookHome
            },

            {
                path: '/author',
                name: 'authorHome',
                component:authorHome,
                title:"authorPaging"
            }
        ]     
})